package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.PanicBuyingTimeMapper;
import com.rongke.model.PanicBuyingTime;
import com.rongke.service.PanicBuyingTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PanicBuyingTimeServiceImpl
 * @抢购时间ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class PanicBuyingTimeServiceImpl extends ServiceImpl<PanicBuyingTimeMapper, PanicBuyingTime> implements PanicBuyingTimeService {

    @Autowired
    private PanicBuyingTimeMapper panicBuyingTimeMapper;

    /**
     * @根据条件查找抢购时间
     * @param panicBuyingTime
     * @return
     */
    @Override
    public List<PanicBuyingTime> selectByCondition(PanicBuyingTime panicBuyingTime) {
        return panicBuyingTimeMapper.selectByCondition(panicBuyingTime);
    }


}
